using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommerceOne.Domains.Commons;
using CommerceOne.Models.Entities;

namespace CommerceOne.Domains.IRepositories
{
    public interface IProductRepository
    {
        List<Product> GetTopNewestProduct(int top);

        List<Product> GetProducts(int categoryId, ProductSortType sortingType, int page, int pageSize, out int totalRecords);

        Product GetProductById(int id);
    }
} 
